package king.com.customprogressbar.activity;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;

import java.util.ArrayList;
import java.util.List;

import king.com.customprogressbar.R;
import king.com.customprogressbar.view.TransverseProgressBar;

/**
 * Created by Administrator on 2018/5/28.
 */

public class TranserProgressActivity extends Activity {

    TransverseProgressBar tpb;
    ArrayList<String> strings;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.transerprogress_layout);

        strings = new ArrayList<String>();
        ;
        strings.add("kkk");
        strings.add("aaa");
        strings.add("ddd");
        strings.add("fff");
        strings.add("sss");
        tpb = findViewById(R.id.trpb);
        tpb.setDate(5,2,0,30,strings);

    }
}
